Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


Lock

The Lock method locks this storage unit for exclusive access.

ODStorageUnitKey Lock (in ODStorageUnitKey key);
key
The previously acquired identifier for a particular clone operation, or the value kODNULLKey if the valid storage unit key is unknown.
return value
The identifier for the locked state of this storage unit.
DISCUSSION
Every thread must acquire the storage unit key for multithreading support.

EXCEPTIONS
kODErrInvalidStorageUnitKey
The specified storage unit key is not valid.
SEE ALSO
The ODStorageUnitKey type (page 903).
The ODStorageUnit::Unlock method (page 715).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help